package com.example.xyxwebbackend001.service;

import com.example.xyxwebbackend001.model.DTO.ArticleSimpleDTO;
import com.example.xyxwebbackend001.model.entity.HomeImagesData;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface HomeService {

    List<HomeImagesData> getCarouselList(String title);
    void updateCarouselStatus(Integer id, Integer status);

    void createCarousel(HomeImagesData data);

    List<ArticleSimpleDTO> getArticleListByViews(String sort);
}
